package com.skyline.wo.model;

import com.skyline.base.model.Resource;
import com.skyline.base.model.TokenValidatable;
import com.skyline.common.cache.Cachable;
import com.skyline.wo.mapper.AlbumMapper;

/**
 * The Album Model
 * 
 * @see table album
 * @see AlbumMapper
 * @author wuqh
 * @version 1.00
 */
public class Album extends Resource implements TokenValidatable, Cachable {
	private static final long serialVersionUID = -8694969683195836610L;
	private String albumName;
	private String place;
	private String description;
	private Integer photoNum;
	private String cover;
	private String coverExt;
	private String submitToken;
	private Boolean refed;

	public String getAlbumName() {
		return albumName;
	}

	public void setAlbumName(String albumName) {
		this.albumName = albumName;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getPhotoNum() {
		return photoNum;
	}

	public void setPhotoNum(Integer photoNum) {
		this.photoNum = photoNum;
	}

	public String getCover() {
		return cover;
	}

	public void setCover(String cover) {
		this.cover = cover;
	}

	public String getCoverExt() {
		return coverExt;
	}

	public void setCoverExt(String coverExt) {
		this.coverExt = coverExt;
	}

	public String getSubmitToken() {
		return submitToken;
	}

	public void setSubmitToken(String submitToken) {
		this.submitToken = submitToken;
	}
	
	public String getFkId() {
		return ownerId.toString();
	}

	public Boolean getRefed() {
		return refed;
	}

	public void setRefed(Boolean refed) {
		this.refed = refed;
	}
	
}
